package com.design.pattern.factory.abstractFactory;

/**
 * create by yufeng on 2021/7/3 20:30
 */
public class AbstractFactoryTest {

    public static void main(String[] args) {

        JavaCourseFactory factory = new JavaCourseFactory();

        factory.createNote().edit();
        factory.createVideo().record();
        factory.createQuestion().answer();

    }

}
